<!--
 * @Description: tabbar第3页 求职-找工作 or 招聘-简历
 * @Author: rcc
 * @Date: 2024-08-08 19:03:41
 * @FilePath: /rc-recruitment/pages/tab-page/tab-3/tab-3.vue
-->

<template>
	<!--	求职-找工作-->
	<template v-if="isJob">
		<JobTalent />
	</template>

	<!--	招聘-简历-->
	<template v-else>
		<HiringResume />
	</template>
</template>

<script lang="ts" setup>
	import { onLoad } from '@dcloudio/uni-app'

	import useTabbar from '@/hooks/use-tabbar.ts'
	import { useUserStore } from '@/stores/user.ts'


	import JobTalent from '@/pages/tab-page/job-office/job-office.vue'
	import HiringResume from '@/pages/tab-page/hiring-resume/hiring-resume.vue'

	const { isJob } = useUserStore()
	const { initTabBar } = useTabbar()

	onLoad(() => {
		initTabBar()
	})
</script>

<style lang="scss" scoped>

</style>